<?php
namespace app\core\widget;

use think\Controller;

class Upload extends Controller
{


    public function _initialize()
    {
        parent::_initialize();
    }


    public function uploadImage($name, $value = '')
    {

        $this->assign('value', $value);
        $this->assign('name', $name);
        return $this->fetch('core@widget/uploadimage');
    }

}
